#ifndef CARMANAGEWIDGET_H
#define CARMANAGEWIDGET_H

#include <QWidget>
#include <QSqlTableModel>

namespace Ui {
class carManageWidget;
}

class carManageWidget : public QWidget
{
    Q_OBJECT

public:
    explicit carManageWidget(QWidget *parent = 0);
    ~carManageWidget();

private slots:
    void on_btn_add_park_clicked();

    void on_btn_delete_park_clicked();

    void on_btn_commit_clicked();

private:
    Ui::carManageWidget *ui;
    QSqlTableModel *model;
    void initWindow(); //初始化窗体
    void initTable(); //初始化Table
};

#endif // CARMANAGEWIDGET_H
